package com.woniuxy.service.impl;


import com.woniuxy.dao.ManagerDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

@Service
public class Impl {

    @Autowired
    private ManagerDao managerDao;


    @Transactional
    public Map findOne(int id) {
        Map<String, String> one = managerDao.getOne(id);
        return one;
    }
}

